<script type="text/javascript">
    var a = "hello goodboy";
    var b = "hello boy";
	(function(window,undefined){
		var a = "hello js a";
		window.b="hello js b";
	})(window,undefined);
	alert(a);
	alert(b);
</script>